* Anonymity

** MAC Changer

MAC is media access control, a permanent address to network devices,
and it's unique.

Changing a MAC address can also be useful to impersonate other
devices.

We can change the MAC address using ifconfig like so:

#+BEGIN_SRC bash
  ifconfig [interface] down
  ifconfig [interface] hw ether [mac:address]
  ifconfig [interface] up
#+END_SRC

We can also use macchanger like this:

#+BEGIN_SRC bash
  macchanger -r [interface] # to get a random mac
  macchanger -m [mac:address] [interface] # to set a custom mac
#+END_SRC

** Changing Mac Address Manually

We can change the MAC address manually:

#+begin_src bash
	ifconfig [interface_name] down
	ifconfig [interface_name] hw ether [new:mac:address]
	ifconfig [interface_name] up
#+end_src

** TOR

** Proxies and Proxychains

Proxychains are set up to be used with tor by default. They can be ran
as:

#+BEGIN_SRC bash
  proxychains nmap 192.168.1.1/24
#+END_SRC

The proxychains configuration can be modified at
/etc/proxychains4.conf. Proxies can be added like this:

#+BEGIN_SRC text
  [...]
  http   183.111.169.207 3128
  socks4 104.128.120.187 1080
  https  75.66.83.12     80
  http   91.221.61.126   3128
#+END_SRC

There are two modes: dynamic chain, and strict chain.
- *dynamic chain:* each connection will be made via chained proxies,
  and all proxies will be chained in the order as they appear in the
  list, dead proxies are skipped.
- *strict chain:* same as dynamic chain, but all proxies must be
  online to play in chain.
